import HeaderAsideLayout from '@/layouts/HeaderAsideLayout'
import NotFound from '@/pages/NotFound/index'

const routerConfig = [
  {
    path: '/',
    component: HeaderAsideLayout,
    children: [
      { path: '/dashboard/workplace', component: () => import('@/pages/dashboard/index') },
      { path: '/dashboard/ipc', component: () => import('@/pages/dashboard/ipc') },
      { path: '/dashboard/dialog', component: () => import('@/pages/dashboard/dialog') },
      { path: '/dashboard/shell', component: () => import('@/pages/dashboard/shell') }
    ]
  },
  { path: '*', component: NotFound }
]

export default routerConfig
